<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/8/23
 * Time: 15:26
 * name:更新机构ERP-企业组织架构配置
 * url:/erpEnterpriseStructure/update_enterprise_structure_config
 */

//获取参数
$oesc_id = $route->bodyParams["oesc_id"];//主键ID

//更新条件
$whereArr = [
    "oesc_id" => $oesc_id
];

$updateArr = deleteArrData($whereArr,$route->bodyParams);

//执行写入语句
$rsData = $db->mysqlDB->update("oa_enterprise_structure_config",$whereArr,$updateArr);

//返回成功结果
$response->responseData( true, $rsData );